$OpenBSD: patch-src_osgPlugins_gif_ReaderWriterGIF_cpp,v 1.1 2015/03/28 16:06:48 sthen Exp $
--- src/osgPlugins/gif/ReaderWriterGIF.cpp.orig	Sat Mar 28 16:04:57 2015
+++ src/osgPlugins/gif/ReaderWriterGIF.cpp	Sat Mar 28 16:05:01 2015
@@ -561,7 +561,7 @@ GifImageStream** obj)
     *width_ret = giffile->SWidth;
     *height_ret = giffile->SHeight;
     *numComponents_ret = 4;
-    DGifCloseFile(giffile);
+    DGifCloseFile(giffile, NULL);
     return buffer;
 }
 
